package cn.wolfcode.luowowo.scenic.mapper;


import cn.wolfcode.luowowo.scenic.domain.TicketDetail;

import java.util.List;

public interface TicketDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TicketDetail record);

    TicketDetail selectByPrimaryKey(Long id);

    List<TicketDetail> selectAll();

    int updateByPrimaryKey(TicketDetail record);

    Integer selectMinPriceByTicketId(Long tickedId);

    List<TicketDetail> selectByTicketId(Long ticketId);
}